package com.moli.iov.admin.service.impl;

import com.moli.iov.admin.service.IVehicleBaseAuthService;
import com.moli.iov.base.model.dto.req.VehicleBaseAuthReqDto;
import com.moli.iov.base.remote.IVehicleBaseAuthRemoteService;
import com.moli.iov.rest.RestResponse;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

/**
 * The type Vehicle base auth service.
 *
 * @author wanghualin
 * @date 2020 -02-27 10:07:07
 */
@Slf4j
@Service
public class VehicleBaseAuthServiceImpl implements IVehicleBaseAuthService {
    @Reference(group = "${service.group}", check = false)
    private IVehicleBaseAuthRemoteService authRemoteService;
    @Override
    public RestResponse updateVehicleBaseAuth(VehicleBaseAuthReqDto dto) {
        return authRemoteService.updateVehicleBaseAuth(dto);
    }
}
